package com.yao.guli.product;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

// 添加注册发现功能
@EnableDiscoveryClient
@MapperScan("com.yao.guli.product.dao")
@SpringBootApplication
public class MainProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainProductApplication.class,args);
    }
}
